package com.binguo.common.paymodel;



public class WeixinConfig {

    /**
     * 公众号appid
     */
    public static String appId = "wx5433e72fcae4f1e5";
    /**
     * 小程序appid
     */
    public static String wxaAppId = "wx099356561cb9c60f";
    public static String merId = "1501847941";
    public static String planId = "121677";
    public static String key = "20147ec02fadce69f6a2d0166xfgs4dd";

    public static String notifyUrl = "https://binguoai.com/api/wxpay/notity";
    public static String papNotifyUrl = "https://binguoai.com/api/wxpay/notity";
    public static String contractNotifyUrl = "https://binguoai.com/api/wxapp/contract/notity";
    public static String reFundNotifyUrl = "https://binguoai.com/api/wxpay/refund/notity";
    public static String accessToken = "";
    public static String jsapiTicket = "";
    public static String secret = "5af8b26fd8bedd5779131116468b419f";


    public static String getPlanId() {
        return planId;
    }

    public static void setPlanId(String planId) {
        WeixinConfig.planId = planId;
    }

    public static String getContractNotifyUrl() {
        return contractNotifyUrl;
    }

    public static void setContractNotifyUrl(String contractNotifyUrl) {
        WeixinConfig.contractNotifyUrl = contractNotifyUrl;
    }

    public static String getReFundNotifyUrl() {
        return reFundNotifyUrl;
    }

    public static void setReFundNotifyUrl(String reFundNotifyUrl) {
        WeixinConfig.reFundNotifyUrl = reFundNotifyUrl;
    }

    public static String getWxaAppId() {
        return wxaAppId;
    }

    public static void setWxaAppId(String wxaAppId) {
        WeixinConfig.wxaAppId = wxaAppId;
    }

    public static String getAccessToken() {
        return accessToken;
    }

    public static void setAccessToken(String accessToken) {
        WeixinConfig.accessToken = accessToken;
    }

    public static String getJsapiTicket() {
        return jsapiTicket;
    }

    public static void setJsapiTicket(String jsapiTicket) {
        WeixinConfig.jsapiTicket = jsapiTicket;
    }

    public static String getAppId() {

        //FIXME
        //返回不同appid: 小程序、公众号
        return wxaAppId;
    }

    public static void setAppId(String appId) {
        WeixinConfig.appId = appId;
    }

    public static String getMerId() {
        return merId;
    }

    public static void setMerId(String merId) {
        WeixinConfig.merId = merId;
    }

    public static String getKey() {
        return key;
    }

    public static void setKey(String key) {
        WeixinConfig.key = key;
    }

    public static String getNotifyUrl() {
        return notifyUrl;
    }

    public static String getPapNotifyUrl() {
        return papNotifyUrl;
    }

    public static void setPapNotifyUrl(String papNotifyUrl) {
        WeixinConfig.papNotifyUrl = papNotifyUrl;
    }

    public static void setNotifyUrl(String notifyUrl) {
        WeixinConfig.notifyUrl = notifyUrl;
    }

    public static String getSecret() {
        return secret;
    }

    public static void setSecret(String secret) {
        WeixinConfig.secret = secret;
    }
}
